package pers.sen.esdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import pers.sen.esdemo.po.Sku;

import java.util.List;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/23 21:57
 * @Description TODO
 */
public interface SkuMapper extends BaseMapper<Sku> {

    @Select("select id, name,price,num,image,images,create_time,category_id,category_name,brand_name from tb_sku")
    List<Sku> findAllSku();
}
